//
//  UIView+ZBLoadNib.m
//  PaoPao
//
//  Created by xzb on 2018/5/5.
//  Copyright © 2018年 paopao. All rights reserved.
//

#import "UIView+ZBLoadNib.h"

@implementation UIView (ZBLoadNib)

+ (id)ZBLoadNib
{
    NSString *className = NSStringFromClass([self class]);
    NSArray *objs = [[NSBundle mainBundle] loadNibNamed:className owner:self options:nil];
    return  [objs firstObject];
}
@end
